package com.ytkj.digitalConstruction.entity.constructionplan;

import java.util.Date;

import javax.validation.constraints.Size;

/**
 * @ClassName: ConstructionContent 
 * @Description: 施工内容表
 * @author iking
 * @date 2017年12月7日 上午11:37:09
 */
public class ConstructionContent {
	
	/**
	 * 内容编号
	 */
    private Integer contentId;

    /**
     * 区域
     */
    @Size(max=50,message="区域不能大于50个字符！")
    private String area;

    /**
     * 施工类型，1-今日、2-明日
     */
    private Integer type;

    /**
     * 完成工作量
     */
    @Size(max=50,message="完成工作量不能大于50个字符！")
    private String completion;

    /**
     * 累计完成量
     */
    @Size(max=50,message="累计完成量不能大于50个字符！")
    private String totalCompletion;

    /**
     * 完成百分比
     */
    @Size(max=50,message=" 完成百分比不能大于50个字符！")
    private String percentCompletion;

    /**
     * 施工时间
     */
    private Date date;
    
    /**
     * 施工计划文档文本信息
     */
    @Size(max=500,message="施工计划内容过长！")
    private String content;

    /**
     * 施工计划文档初始信息
     */
    @Size(max=500,message="施工计划内容过长！")
    private String initialContent;

    public Integer getContentId() {
        return contentId;
    }

    public void setContentId(Integer contentId) {
        this.contentId = contentId;
    }

    public String getArea() {
        return area;
    }

    public void setArea(String area) {
        this.area = area == null ? null : area.trim();
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }

    public String getCompletion() {
        return completion;
    }

    public void setCompletion(String completion) {
        this.completion = completion == null ? null : completion.trim();
    }

    public String getTotalCompletion() {
        return totalCompletion;
    }

    public void setTotalCompletion(String totalCompletion) {
        this.totalCompletion = totalCompletion == null ? null : totalCompletion.trim();
    }

    public String getPercentCompletion() {
        return percentCompletion;
    }

    public void setPercentCompletion(String percentCompletion) {
        this.percentCompletion = percentCompletion == null ? null : percentCompletion.trim();
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }

	public String getContent() {
		return content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getInitialContent() {
		return initialContent;
	}

	public void setInitialContent(String initialContent) {
		this.initialContent = initialContent;
	}
}